package com.tinycloud.miracll.product.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;

/**
 * 排产订单对象 product_aps_orderdata
 * 
 * @author tiny
 * @date 2022-06-08
 */
public class ProductApsOrderData extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Excel(name = "序号")
    private Long rowNum;

    /** 排产编号 */
    @Excel(name = "排产编号")
    private String scheduleNum;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNum;

 /*   *//** 操作 *//*
    @Excel(name = "操作")
    private Long operType;*/

    /** 操作 */
    @Excel(name = "操作")
    private String operType;

    /** 品管号 */
    @Excel(name = "品管号")
    private String qcNum;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private String productType;

    /** 产线代码 */
    @Excel(name = "产线代码")
    private String lineCode;

    /** 排产日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排产日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleDate;

    /** 数量吨 */
    @Excel(name = "数量吨")
    private BigDecimal mountTon;

    /** 数量批 */
    @Excel(name = "数量批")
    private BigDecimal mountBatch;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 包装代码 */
    @Excel(name = "包装代码")
    private String packageNum;

    /** 包装类型 */
    @Excel(name = "包装类型")
    private String packageType;

    /** 研发试验 */
    @Excel(name = "研发试验")
    private String devFlag;

    /** 生产用时 */
    @Excel(name = "生产用时")
    private BigDecimal elapseTime;

    /** 订单用途 */
    @Excel(name = "订单用途")
    private String orderPurpose;

    /** 牌号 */
    @Excel(name = "牌号")
    private String mark;

    /** 工艺类别 */
    @Excel(name = "工艺类别")
    private String techTpye;

    /** 产线限定 */
    @Excel(name = "产线限定")
    private String lineLimit;

    /** 类别编码 */
    @Excel(name = "类别编码")
    private String typeNum;

    /** 生产线 */
    @Excel(name = "生产线")
    private String lineName;

    /** 装置 */
    @Excel(name = "装置")
    private String device;

    /** 装置部门 */
    @Excel(name = "装置部门")
    private String deviceDept;

    /** 产线匹配 */
    @Excel(name = "产线匹配")
    private String lineMapFlag;

    /** $column.columnComment */
    @Excel(name = "产线匹配")
    private String excelserverrcid;

    /** $column.columnComment */
    @Excel(name = "产线匹配")
    private String excelserverrc1;

    /** $column.columnComment */
    @Excel(name = "产线匹配")
    private String excelserverwiid;

    /** $column.columnComment */
    @Excel(name = "产线匹配")
    private String excelserverrtid;

    /** $column.columnComment */
    @Excel(name = "产线匹配")
    private Long excelserverrn;

    /** $column.columnComment */
    @Excel(name = "产线匹配")
    private Long excelservercn;

    /** $column.columnComment */
    @Excel(name = "产线匹配")
    private Long excelserverchg;

    /** 修改内容 */
    @Excel(name = "修改内容")
    private String editDesc;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String mainBillNum;

    public void setRowNum(Long rowNum){
        this.rowNum = rowNum;
    }

    public Long getRowNum(){
        return rowNum;
    }
    public void setScheduleNum(String scheduleNum){
        this.scheduleNum = scheduleNum;
    }

    public String getScheduleNum(){
        return scheduleNum;
    }
    public void setOrderNum(String orderNum){
        this.orderNum = orderNum;
    }

    public String getOrderNum(){
        return orderNum;
    }
    public void setOperType(String operType){
        this.operType = operType;
    }

    public String getOperType(){
        return operType;
    }
    public void setQcNum(String qcNum){
        this.qcNum = qcNum;
    }

    public String getQcNum(){
        return qcNum;
    }
    public void setProductType(String productType){
        this.productType = productType;
    }

    public String getProductType(){
        return productType;
    }
    public void setLineCode(String lineCode){
        this.lineCode = lineCode;
    }

    public String getLineCode(){
        return lineCode;
    }
    public void setScheduleDate(Date scheduleDate){
        this.scheduleDate = scheduleDate;
    }

    public Date getScheduleDate(){
        return scheduleDate;
    }
    public void setMountTon(BigDecimal mountTon){
        this.mountTon = mountTon;
    }

    public BigDecimal getMountTon(){
        return mountTon;
    }
    public void setMountBatch(BigDecimal mountBatch){
        this.mountBatch = mountBatch;
    }

    public BigDecimal getMountBatch(){
        return mountBatch;
    }
    public void setUnit(String unit){
        this.unit = unit;
    }

    public String getUnit(){
        return unit;
    }
    public void setPackageNum(String packageNum){
        this.packageNum = packageNum;
    }

    public String getPackageNum(){
        return packageNum;
    }
    public void setPackageType(String packageType){
        this.packageType = packageType;
    }

    public String getPackageType(){
        return packageType;
    }
    public void setDevFlag(String devFlag){
        this.devFlag = devFlag;
    }

    public String getDevFlag(){
        return devFlag;
    }
    public void setElapseTime(BigDecimal elapseTime){
        this.elapseTime = elapseTime;
    }

    public BigDecimal getElapseTime(){
        return elapseTime;
    }
    public void setOrderPurpose(String orderPurpose){
        this.orderPurpose = orderPurpose;
    }

    public String getOrderPurpose(){
        return orderPurpose;
    }
    public void setMark(String mark){
        this.mark = mark;
    }

    public String getMark(){
        return mark;
    }
    public void setTechTpye(String techTpye){
        this.techTpye = techTpye;
    }

    public String getTechTpye(){
        return techTpye;
    }
    public void setLineLimit(String lineLimit){
        this.lineLimit = lineLimit;
    }

    public String getLineLimit(){
        return lineLimit;
    }
    public void setTypeNum(String typeNum){
        this.typeNum = typeNum;
    }

    public String getTypeNum(){
        return typeNum;
    }
    public void setLineName(String lineName){
        this.lineName = lineName;
    }

    public String getLineName(){
        return lineName;
    }
    public void setDevice(String device){
        this.device = device;
    }

    public String getDevice(){
        return device;
    }
    public void setDeviceDept(String deviceDept){
        this.deviceDept = deviceDept;
    }

    public String getDeviceDept(){
        return deviceDept;
    }
    public void setLineMapFlag(String lineMapFlag){
        this.lineMapFlag = lineMapFlag;
    }

    public String getLineMapFlag(){
        return lineMapFlag;
    }
    public void setExcelserverrcid(String excelserverrcid){
        this.excelserverrcid = excelserverrcid;
    }

    public String getExcelserverrcid(){
        return excelserverrcid;
    }
    public void setExcelserverrc1(String excelserverrc1){
        this.excelserverrc1 = excelserverrc1;
    }

    public String getExcelserverrc1(){
        return excelserverrc1;
    }
    public void setExcelserverwiid(String excelserverwiid){
        this.excelserverwiid = excelserverwiid;
    }

    public String getExcelserverwiid(){
        return excelserverwiid;
    }
    public void setExcelserverrtid(String excelserverrtid){
        this.excelserverrtid = excelserverrtid;
    }

    public String getExcelserverrtid(){
        return excelserverrtid;
    }
    public void setExcelserverrn(Long excelserverrn){
        this.excelserverrn = excelserverrn;
    }

    public Long getExcelserverrn(){
        return excelserverrn;
    }
    public void setExcelservercn(Long excelservercn){
        this.excelservercn = excelservercn;
    }

    public Long getExcelservercn(){
        return excelservercn;
    }
    public void setExcelserverchg(Long excelserverchg){
        this.excelserverchg = excelserverchg;
    }

    public Long getExcelserverchg(){
        return excelserverchg;
    }
    public void setEditDesc(String editDesc){
        this.editDesc = editDesc;
    }

    public String getEditDesc(){
        return editDesc;
    }
    public void setMainBillNum(String mainBillNum){
        this.mainBillNum = mainBillNum;
    }

    public String getMainBillNum(){
        return mainBillNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rowNum", getRowNum())
            .append("scheduleNum", getScheduleNum())
            .append("orderNum", getOrderNum())
            .append("operType", getOperType())
            .append("qcNum", getQcNum())
            .append("productType", getProductType())
            .append("lineCode", getLineCode())
            .append("scheduleDate", getScheduleDate())
            .append("mountTon", getMountTon())
            .append("mountBatch", getMountBatch())
            .append("unit", getUnit())
            .append("packageNum", getPackageNum())
            .append("remark", getRemark())
            .append("packageType", getPackageType())
            .append("devFlag", getDevFlag())
            .append("elapseTime", getElapseTime())
            .append("orderPurpose", getOrderPurpose())
            .append("mark", getMark())
            .append("techTpye", getTechTpye())
            .append("lineLimit", getLineLimit())
            .append("typeNum", getTypeNum())
            .append("lineName", getLineName())
            .append("device", getDevice())
            .append("deviceDept", getDeviceDept())
            .append("lineMapFlag", getLineMapFlag())
            .append("excelserverrcid", getExcelserverrcid())
            .append("excelserverrc1", getExcelserverrc1())
            .append("excelserverwiid", getExcelserverwiid())
            .append("excelserverrtid", getExcelserverrtid())
            .append("excelserverrn", getExcelserverrn())
            .append("excelservercn", getExcelservercn())
            .append("excelserverchg", getExcelserverchg())
            .append("editDesc", getEditDesc())
            .append("mainBillNum", getMainBillNum())
            .toString();
    }
}
